package dev2dev.textclient;

/**
 * @author jinbing.yao
 * @createTime 2023-10-16 18:32
 **/
public enum SERVICE_HEADER {
    MS_SUPP_STUN_RQ("ms-supp", "stun-rq", "Request to stun MS"),//8.4.2  请求击晕MS
    MS_SUPP_REVIVE_RQ("ms-supp", "revive-rq", "Request to revive MS"),//8.4.2 请求抢救多发性硬化
    MS_SUPP_KILL_RQ("ms-supp", "kill-rq", "Request to kill MS"),//8.4.2 杀死消息进程MS
    MS_SUPP_DISABLE_RQ("ms-supp", "disable-rq", "Request to disable MS"), //8.4.3 禁用MS的请求
    MS_SUPP_ENABLE_RQ("ms-supp", "enable-rq", "Request to enable MS"), //8.4.3 启用MS的请求
    MS_SUPP_RADIO_CHECK_RQ("ms-supp", "radio-check-rq", "Radio Check request message"), //8.4.1 无线电网络检测
    MS_SUPP_STATUS_RQ("ms-supp", "status-rq", "Status request"), //8.4.4 状态请求
    MS_SUPP_STATUS("ms-supp", "status", "Status and Radio Check response with value "),//8.4.1~8.4.4 无线电响应 参数格式：Ais-Msg-id:status;value=<value>
    MS_SUPP_EMERG_ALARM("ms-supp", "emerg-alarm", ""),
    MS_SUPP_CALL_ALERT("ms-supp", "call-alert", ""),
    MS_SUPP_CHANNEL("ms-supp", "channel", ""),
    MS_SUPP_TALKTHROUGH("ms-supp", "talkthrough", ""),
    TEXT_MSG("text-msg", "N/A", "通用短信"),
    TEXT_SHORT("text-short", "N/A", "短信短信服务（Tier III 系统）。最大有效负载大小为46字节"),
    SHORT_DATA("short-data", "short-data-poll", "数据服务.短数据轮询服务"),
    LOCATION_CONTROL("location", "control", "通用位置报告服务"),
    LOCATION_REQUEST("location", "request", "通用位置报告服务"),
    LOCATION_REPORT("location", "report", "通用位置报告服务"),
    REGROUP_SET_ALIAS("regroup", "set-alias", "动态组号分配服务"),
    REGROUP_CLEAR_GROUP("regroup", "clear-group", "动态组号分配服务"),
    REGROUP_SET_GROUP("regroup", "set-groups", "动态组号分配服务"),
    REGROUP_CLEAR_GROUPS("regroup", "clear-groups", "动态组号分配服务"),
    REGROUP_ADD("site-chan", "add", "消息标识特定头"),
    REGROUP_REMOVE("site-chan", "remove", "消息标识特定头"),

    AFFILIATION_GROUPS("affiliation", "groups", "");

    SERVICE_HEADER(String aisService, String aisMsgId, String desc) {
        this.aisService = aisService;//Ais-Service: header
        this.aisMsgId = aisMsgId; //Ais-Msg-id: header
        this.desc = desc; //说明
    }

    public String aisService;
    public String aisMsgId;
    public String desc;

    public String getAisService() {
        return aisService;
    }

    public String getAisMsgId() {
        return aisMsgId;
    }

}
